<script setup lang="ts">
defineProps(['title'])
</script>
<template>
  <div class="row-box-wrapper relative">
    <div class="row-box-title">{{ title }}</div>
    <div class="row-box-content table-box">
      <!-- 定义一个作用域插槽  用来放表格或图表 -->
      <slot name="main"></slot>
      <!-- 用来存放其他信息，比如下拉框，提示语等 -->
      <slot name="extra"></slot>
    </div>
  </div>
</template>
<style lang="less" scoped>
@import url(../style/reset.less);
</style>
